//
//  NvTextField.m
//  NvSellerShow
//
//  Created by dx on 17/1/22.
//  Copyright © 2017年 Meicam. All rights reserved.
//

#import "NvTextField.h"

@implementation NvTextField

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (CGRect)caretRectForPosition:(UITextPosition *)position
{
    CGRect originalRect = [super caretRectForPosition:position];
    
    originalRect.size.height = 18;
    originalRect.size.width = 1;
    
    return originalRect;
}

@end
